<div class="prolist">
  <div class="left">
    <%=render :partial=>"products/pronav",:object=>2 %>
    <%= render :partial=>"products/tejia_pros" %>
  </div>
  <div class="right">
    <div class="pageinfo">
      <%=CommonFunction.dis_page_entries_info @tuangou_pros,:entry_name=>"项"%>
    </div>
    <%= render :partial=>"products/pro_list",:object=>@tuangou_pros %>
    <%=will_paginate(@tuangou_pros,:previous_label=>"上一页",:next_label=>"下一页")%>
  </div>
</div>
<%=render :partial=>"products/sub_menu",:object=>2 %>
<script type="text/javascript">
  $(window).load(function(){
    left=$(".prolist>.left");
    right=$(".prolist>.right");
    if(left.height()>right.height())
    {
      right.height(left.height());
    }
    else
    {
      left.height(right.height());
    }
  }
);
</script>


